home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
pcbuda20.zip
/
PCBUDA.DOC
< prev
next >
Wrap
Text File
|
1993-06-03
|
11KB
|
244 lines
U p l o a d / D o w n l o a d A n a l y z e r
( PCBUDA.EXE )
=====================
Release 2.0
September 28, 1988
Clint Labarthe
Copyright (C), 1988
Black Hole BBS, Longwood, Florida 32750
Node 1 BBS 407-260-6397
Node 2 By Subscription
300/1200/2400 24 Hours
Overview
========
PCBUDA is a PCBoard SysOp utility to enhance your ability to control the
behavior of your callers. Specifically targeted are those callers that
seem to have forgotten that there is a "U" key on their keyboard. They
seem to use the "D" key constantly. We have many names for these callers
from leaches to rapists. The bottom line is that although you have given
them amble opportunity to stay within your specified tolerances, they
seem to go right along and download to their hearts content. This program
puts an end to this entire mess. You may loose some callers but then you
didn't really need that "type" of caller anyway did you ?
PCBSM from the staff at Salt Air provides some of what we need to control
the environment of our callers. Unfortunately, it does not provide the
flexibility that I require. Nor should it. The Salt Air folks have to
provide us general-use utilities. If they provided everything everyone
wanted, we would be swamped. Given all of this, I made some basic
assumptions. First and foremost; this program is not for everyone.
But if you find some feature that you believe would benefit all of us then
please let me know.
How it works
============
This utility will DENY download capability for a caller based upon a
specified ratio that you define. The utility will also REINSTATE
a caller to the level they previously had once their ratio is within
your pre-defined tolerances. Now you might ask, how did I accomplish
this ? Well, it isn't very fancy - but it does work !
What is required is intelligence in the PWRD (or whatever you call it) file.
Those security levels within the PWRD file that are to be "monitored"
by PCBUDA must have a corresponding security level entry that does not
allow downloads. Yes, I know that the "D" command security level is
controlled by the PCBSetup program. We are taking a different approach here.
We are simply going to allow ZERO bytes for downloading to those security
levels that we "link" to. Below is an example of my PWRD file. I have
deleted those entries used by the SysOp for obvious reasons.
Take a look at levels 9 and 10. Those levels belong to the same "level"
of caller. If the caller downloads too much and exceeds the ratio then
the program will give them a level 9. Once their ratio is within that
specified by you, then the program will reinstate them to level 10.
The "linking" mechanism used is this: a level which DENYS downloads ends
in a nine (9). Therefore level 9, 19, 29, 39, 49, 59, 69, 79, 89
could be used. The next higher level is the level to be used when the
caller is found to be WITHIN the specified ratio. What this all means
can be shown on the next page:
Security Levels
Downloads Downloads
Denied Permitted
==========================
9 10
20 <=== bypassed
25 <=== bypassed
29 30
49 50
65 =
70 \
75 >-------- bypassed
80 /
85 =
In the above example, there is not a level in the PWRD file for 39.
Therefore the program bypasses the 39 and 40 combination. Only when
a level which ends in a "9" is found, is the next higher level used
(as long as it does not also end in a "9"). Therefore levels
9 & 10 are linked, 29 and 30 are linked and so are 49 & 50.
Since no others have a corresponding link they are bypassed by the
program when it executes.
The entries within PWRD MUST be in ascending sequence by level.
Black Hole BBS PWRD file (partial)
==================================
,0,31,0 <=== Lock-out level
,5,31,200 <=== Initial level before caller uses PCBNUR Door
,9,31,0 <=== Registered level - DENIED downloads
,10,31,200 <=== Registered level - downloads ALLOWED
,20,46,300 <=== Co-Workers - downloads ALLOWED
,25,46,300 <=== AT&T Management - downloads ALLOWED
,29,46,0 <=== Visiting SysOp - downloads DENIED
,30,46,325 <=== Visiting SysOp - downloads ALLOWED
,49,61,0 <=== Subscriber - downloads DENIED
,50,61,375 <=== Subscriber - downloads ALLOWED
,65,91,500 <=== Node 2 Subscriber - downloads ALLOWED
,70,91,500 <=== Node 2 AT&T Co-Worker - downloads ALLOWED
,75,91,500 <=== Node 2 AT&T Management - downloads ALLOWED
,80,91,500 <=== Node 2 Visiting SysOp - downloads ALLOWED
Example Bulletin from the Black Hole BBS
========================================
╔══[ Bulletin # 7, Black Hole BBS Security Levels ]═══════════════════════════╗
║ Time Daily Download ║
║ Level Description Allowed (min.) Allocation (Bytes) ║
╟───────────────────────[ Node 1 Free Security Levels ]───────────────────────╢
║ 5 New User 30 Zero ║
║ 9 Restricted (Too many Downloads) 30 Zero ║
║ 10 Registered Caller 30 200,000 ║
║ 20 Co-workers (Private) 45 300,000 ║
║ 25 AT&T Management (Private) 45 300,000 ║
║ 29 Restricted (Too many Downloads) 45 Zero ║
║ 30 Visiting SysOp (Script #1) 45 325,000 ║
║ 35-45 <unassigned> <unassigned> <unassigned> ║
╟─────────────[ Node 1 Security Level - $5.00 Annual donation ]─────────────╢
║ 49 Restricted (Too many Downloads) 60 Zero ║
║ 50 Node 1 Subscriber (Thanks!) 90 375,000 ║
╟─────────────[ Node 2 Security Levels - $25.00 Annual donation ]─────────────╢
║ 65 Node 2 Subscriber (Thanks!) 90 500,000 ║
║ 70 Co-workers (Private,Thanks!) 90 500,000 ║
║ 75 AT&T Management (Private,Thanks!) 90 500,000 ║
║ 80 Visiting SysOp (Script #1) 90 500,000 ║
║ 85 & up <unpublished> <unpublished> <unpublished> ║
╚═════════════════════════════════════════════════════════════════════════════╝
Running the program
===================
You may run the program from any directory you wish as long as you place
the required PCBUDA.CFG file in the same directory. The structure of this
configuration is detailed below. You may also use the program to do
"what if?" results without actually updating the USERS file. You do this
analysis by passing a run-time parameter to the program. From the DOS
prompt enter: PCBUDA ANALYZE
The PCBUDA program will run thru your entire USERS file and report on
the local screen its findings based upon the requirements you specify
in PCBUDA.CFG. Once you have your parameters set the way you want them
you can run PCBUDA from the DOS command prompt without any parameters
or you can do as I do and run the program daily in your event. The
program will produce a Bulletin for you and a graphics version as well
if you wish. The Bulletin details the "state" of your USERS file.
As callers are reinstated they will be "dropped" from the Bulletin.
WARNING: If a new version of PCBoard is released, it is YOUR responsibility
to verify that the USERS file has not changed in structure
or layout. If it has, you will need a new version of the program.
PCBUDA.CFG file structure (to be placed in the same "default" directory.
=========================
C:\PCB\PCBOARD.DAT <=== The <path/name> of PCBOARD.DAT
15 <=== The MAXIMUM ratio allowed (15 to 1)
10 <=== The amount of FREE downloads BEFORE calculation
D:\GEN\BLT99 <=== Bulletin to be created
Y <=== A "Y" here creates a GRAPHICS bulletin as well
Disclaimer Of Liability
=======================
This program has been tested on PCBoard 14.0 ONLY !
I assume no liability for its use in this or any other version
of PCBoard. You may redistribute the
program to others so long as the code and the documentation are
distributed together. If you have any suggestions for
improvements to this code, reply to the address below or call our
BBS at the number stated above. Please complete the
Registration form at the end of this documentation. This program
is copyrighted. It is unlawful to disassemble or otherwise
decode or misuse the software contained herein. It is for your
use and may not be altered in an way. You may not charge a fee for
its use or sell it. PCBUDA20.ARC is to be distributed in its
ORIGINAL ARC format and contain ALL the original files.
Send inquires to: Clint Labarthe
P. O. Box 151445
Altamonte Springs, Florida, 32701-1445
Contents Of "PCBUDA20.ARC" File
===============================
1.) PCBUDA.EXE The execuable program
2.) PCBUDA.DOC This documentation
3.) PCBUDA.CFG An example of the required .CFG file
4.) READ.ME If included, may contain last minute
information.
Changes In This Release
=======================
Initial release to the production environment. Version 1.0 was
a beta version under PCBoard 12.1.
The Future
==========
Some of you may want the capability to use PCBSM for some of your adjustments
and PCBUDA for others. Given this possibility, I have considered not
making the program determine for itself what the "linked" security
levels are but rather have you place them all in the .CFG file.
That may be more work for you, but it would give your more flexibility.
I'd like to hear from you on which method would be best. Even if you
like the current mechanism, the security levels could be specified
in the .CFG making the program more flexible. Before I change the
code I want to know how you feel.